package sample.matrices;

abstract class PuzzleMatrix {
    int dimension;

    public void setDimension(int dimension) {
        this.dimension = dimension;
    }

    public void setData(int[][] data) {
        this.data = data;
    }

    public int getDimension() {
        return dimension;
    }

    public int[][] getData() {
        return data;
    }

    int[][] data = new int[dimension][dimension];
}
